package com.kgc.scd.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 * @author jiangguoqiang
 * @since 2022-11-14
 */
@Data
public class OrderVO implements Serializable {

    /**
     * 订单id
     */
    @TableId(type = IdType.AUTO)
    private String id;

    private String userId;



    /**
     * 地址id
     */
    private String addressId;

    /**
     * 附言
     */
    private String postscript;

    /**
     * 运费
     */
    private BigDecimal shoppingFee;

    /**
     * 微信订单号
     */
    private Integer payId;

    /**
     * 实际需要支付的金额
     */
    private BigDecimal actualPrice;

    /**
     * 积分
     */
    private Integer integration;

    /**
     * 订单总价
     */
    private BigDecimal orderPrice;


    private Date addTime;

    /**
     * 确认时间
     */
    private Date confirmTime;

    private Date payTime;

    /**
     * 使用的优惠券id
     */
    private Integer couponId;

    /**
     * 回调_状态
     */
    private String callbackStatus;

    /**
     * 快递单号
     */
    private String logisticCode;




    /**
     * 商品数量
     */
    /*private Integer prodNum;*/

    /**
     *  收获信息
     */
    @ApiModelProperty(value = "收货信息")
    private Address address;
    /**
     * 订单id
     */
    private Integer goodsId;


    /**
     * 订单状态
     */
    @ApiModelProperty("订单商品id")
    private Integer orderGoodsId;

    /**
     * 订单状态
     */
    private Integer shoppingStatus;


    /**
     * 订单id
     */
    private String orderId;


    /**
     * 订单名字
     */
    private String goodsName;

}